<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>会员卡</title>
		<link rel="stylesheet" type="text/css" href="css/my_vipcard.css" />
		<script type="text/javascript" src="js/rem.js"></script>
		<style type="text/css">
			[v-cloak] {
				display: none;
			}
		</style>
	</head>

	<body>
		<div id="app" v-cloak class="cardbox">
			<div class="carda">
				<div class="carda_inner">
					<div class="carda_inner1">{{vipType}}</div>
					<div class="carda_inner2">享{{discount}}折优惠</div>
				</div>

			</div>
			<div class="cardb">
				<div class="cardb_title">会员卡信息</div>
				<div class="cardb_content">
					<p v-for='item in items'>{{item}}</p>
				</div>
			</div>
		</div>
	</body>
	<script type="text/javascript" src="js/vue2.5.16.js"></script>
	<script type="text/javascript">
		var app = new Vue({
			el: "#app",
			data: {
				vipType: '黄金会员',
				discount: '9.0',
				items: ['1.本卡可享受9折优惠', '2.最终解释权归商家所有', '3.最终解释权归商家所有', '4.最终解释权归商家所有']
			}
		})
	</script>

</html>